package com.zhaoye.service;

import org.springframework.stereotype.Component;

/**
 * @author feng
 * @Date 2021/11/14 8:11
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String payment_ok(Integer id) {
        return "对方服务器宕机，请稍后重试。/(ㄒoㄒ)/~~";
    }

    @Override
    public String payment_TimeOut(Integer id) {
        return "对方服务器宕机，请稍后重试。/(ㄒoㄒ)/~~";
    }
}
